package com.hziee.graduate.ticket.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CascaderVO {
    private String label;
    private Object value;
    private List<CascaderVO> children;

    public CascaderVO(String label, Object value) {
        this.label = label;
        this.value = value;
        this.children = new ArrayList<>();
    }
}
